﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sellReleased.aspx.cs" Inherits="SellerProject.sellReleased" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>淘我想淘_卖家已反馈</title>
    <link href="/Scripts/AsyncBox/skins/ZCMS/asyncbox.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="/Scripts/jquery.loadthumb.js"></script>
    <script src="/Scripts/AsyncBox/AsyncBox.v1.4.js" type="text/javascript"></script>
    <link href="/Layout/i_Main.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" language="javascript">
    $(document).ready(function () {
        ResizeImg();

        codeInfo();
    });  //document.ready

    function codeInfo() {
        $(".information").each(function () {
            var obj = $(this);
            obj.html(unescape($(this).text().trim()));
            if (obj.text().length > 80) {
                obj.text(obj.text().substring(0, 80) + "...");
            }
        });
    }

    function ResizeImg() {
        var imgcount = $(".imgcss").length;
        for (var i = 0; i < imgcount; i++) {
            $($(".imgcss")[i]).loadthumb({
                "src": $(".imgcss")[i].src,
                "imgId": $(".imgcss")[i].id,
                "parentId": $($(".imgcss")[i]).parent()[0].id
            });
        } 
    }
</script>
</head>
<body>
<form id="form1" runat="server">
  <div id="headBg">
    <div id="headTop"><p>欢迎来到淘我想淘网！<strong>您现在使用的是卖家版本！</strong><span><a href="helpCenter/sellhelpCenter.aspx" class="hidetxt">帮助中心</a></span></p></div>
    <div id="newHeader" >
        <div>
            <a href="sellMain.aspx" class="logo hidetxt">返回首页</a>
            </div>
        <ul id="newNav">
            <li id="nav1"><a href="sellMain.aspx" class="hidetxt">所有需求</a></li>
            <li id="nav2"><a href="sellgoodCid.aspx" class="hidetxt">我的类别</a></li>
            <li id="nav3"><a href="sellReleased.aspx" class="hidetxt nav3">已发布</a></li>
            <li id="nav4"><a href="helpCenter/sellhelpCenter.aspx?target=5" class="hidetxt">联系我们</a></li>
            </ul>
        </div>
   </div>
  <div id="cBg" class="clr">
    <div id="Container"><div id="ContainBg">
        <div id="leftcont">
        <div class="newbuyhead hidetxt">我反馈过的需求</div>
        <asp:Repeater ID="binfoRepeater" runat="server" EnableTheming="True">
            <ItemTemplate>
                <div class="newBuyDiv">
                    <ul>
                        <li class="imgparent" id="imgparent">
                            <img id="<%# "newimg" + Eval("id") %>" class="imgcss" src='<%# Eval("imgsrc")=="" ? "images/webkey_1_009.png":Eval("imgsrc") %>' alt="" />
                         </li>
                        <li class="new_body">
                            <dl class="nDetail">
                                <dt class="newTitle"><a href="sellDetail.aspx?pid=<%# Eval("Id") %>"><%# Eval("title").ToString().Trim().Length > 18 ? Eval("title").ToString().Trim().Substring(0, 16) + "..." : Eval("title").ToString().Trim() %></a></dt><br />
                                <dt>期望价格：</dt><dd class="poingFont"><%# Eval("ExpectpricesMax")%>~<%# Eval("ExpectpricesMin")%></dd><br />

                                <dt>特殊要求：</dt><dd class="poingFont"><%# Eval("Keyprop").ToString().Trim().Equals("") ? "" : Eval("Keyprop") + "，"%></dd><dd class="poingFont"><%# "送给" + Eval("Owner")%></dd>
                            </dl>
                            <div class="nInfo">
                                <h5 class="poingFont">由<%# Eval("ReleaseName")%>发布</h5>
                                <h5 class="poingFont"><%# Eval("Starttime").ToString()%></h5>
                             </div>
                            <div class="information"> 
                                <%# Eval("Information").ToString() == "" ?"这位朋友很懒，什么都没写~": Eval("Information").ToString()%>
                              </div>
                          </li>
                      </ul>
                    <div class="new_foot">
                        <span>现在有<strong><%# Eval("Respondcount")%></strong>位淘友感兴趣</span>
                        <a href="sellDetail.aspx?pid=<%# Eval("Id") %>" style="background:'Css/screenPic/buttonOff.png' no-repeat;"><img src="Css/screenPic/buttonOff.png" alt="" /></a>
                      </div>
                  </div>
              </ItemTemplate>
              <SeparatorTemplate>
                <hr style="display:block; height:1px; background-color:#CCC;" />
              </SeparatorTemplate>
              <FooterTemplate>
                <asp:Label ID="lblEmpty" CssClass="emptyArea" Text="对不起，未查询到记录。" ForeColor="Red" runat="server" Visible='<%#binfoRepeater.Items.Count == 0%>'>
                </asp:Label>
              </FooterTemplate>
          </asp:Repeater>
        <webdiyer:AspNetPager ID="repPager" runat="server" 
            CurrentPageButtonPosition="Center" 
            CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页" FirstPageText="首页" 
            LastPageText="尾页" NextPageText="后页" onpagechanged="repPager_PageChanged" 
            PageIndexBoxType="TextBox" PageSize="6" PrevPageText="前页" 
            ShowCustomInfoSection="Left" ShowPageIndexBox="Never" SubmitButtonText="Go" 
            TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" 
            NumericButtonCount="4" CssClass="pagertext"></webdiyer:AspNetPager>
        </div>

        <div id="rightcont">          
            <div>
                空白广告位
            </div>  
        </div>
    </div></div><%Response.WriteFile("footer.inc"); %></div>
</form>
</body>
</html>
